package adv330;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;

/**
 * @author oldliu
 * @since 1.0
 */
public class FileRead5 {
    public static void main(String[] args) {
        try {
            File f=new File("E:\\迅雷下载\\HDP_3.0.1_virtualbox_181205.ova");
            System.out.println(f.length());
            FileInputStream fin=new FileInputStream("E:\\迅雷下载\\HDP_3.0.1_virtualbox_181205.ova");
            System.out.println(fin.available());
            fin.close();
        } catch (Exception e) {
            e.printStackTrace();
        }

    }
}
